package com.kgc.service;

import com.github.pagehelper.PageInfo;
import com.kgc.pojo.Newscomment;

import java.util.List;

public interface NewscommentService {
    List<Newscomment> selectNewscommentAll();

    Newscomment selectById(Integer id);

    //分页查询
    PageInfo<Newscomment> selectNewscommentByCondition(Integer newsid,Integer pageNo,Integer pageSize);


    //添加回复的方法
    boolean addNewscomment(Newscomment newscomment);

}
